package com.pureut.quality.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pureut.quality.domain.QualityProductionFreeze;
import com.pureut.quality.domain.dto.QualityProductionFreezeDto;
import com.pureut.quality.domain.vo.ThawVo;
import com.pureut.quality.domain.vo.QualityProductionFreezeVo;

import java.util.List;

/***
 * 生产冻结表service
 * Author:C
 * Date:2023/02/07 14:04
 * @DESC
 */
public interface QualityProductionFreezeService extends IService<QualityProductionFreeze>{

    /**
     * 生产冻结列表
     */
    List<QualityProductionFreezeDto> getFreezeList(QualityProductionFreezeVo qualityProductionFreezeVo);

    /**
     * 冻结查询
     */
    List<QualityProductionFreezeDto> getFreeze(QualityProductionFreezeVo qualityProductionFreezeVo);

    /**
     * 冻结
     */
    boolean freeze(QualityProductionFreezeVo qualityProductionFreezeVo);

    /**
     * 解冻
     */
    boolean thaw(ThawVo thawVo);

    /**
     * 查看
     */
    List<QualityProductionFreezeDto> getView(String ids);

    /**
     * 品质处理
     */
    boolean qualityTreatment(ThawVo thawVo);

    /**
     * 小卷打包数据新增（fegin调用）
     */
    boolean smallRollAdd(QualityProductionFreezeVo qualityProductionFreezeVo);
}
